#include <Eigen/Core>
#include <GL/glut.h>
#include <GL/glu.h>
#include <vector>
#include "triple.h"
#include <stdlib.h>

#ifndef LINK_H
#define LINK_H

using namespace Eigen;
using namespace std;
class Link{
	public:
		Link(Vector3f p, float t, float ph, float l, float global_t, float global_p);
		//void draw();
		float theta;
		float phi;
		float global_theta;
		float global_phi;
		float length;

		float r;
		float g;
		float b;

		vector<triple*> vertices; 
		Vector3f pos;
		Vector3f getEnd();
		Vector3f getMid();
};

#endif
